home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / backup / tob-0.13 / tob-0 / tob / sample-rc / tob.rc.afioz.TEST < prev    next >
Text File  |  1995-07-13  |  759b  |  27 lines

  1. # Resource file for tob (version 0.01 and higher), using afio'd compressed
  2. # archives. I use "ftape.o" as loadable module, hence the PRECMD and POSTCMD.
  3. # See the docs for a full explanation.
  4.  
  5. VERBOSE='yes'
  6.  
  7. cat << ENDMSG
  8.  
  9.     This TOB resource file is only for TESTING purposes! It will send the
  10.     output of a backup job to the file "/tmp/tob.out".
  11.  
  12. ENDMSG
  13.  
  14. TOBHOME="/usr/etc/tob"
  15. BACKUPDEV="/tmp/tob.out"
  16. PRECMD=""
  17. POSTCMD=""
  18.  
  19. # Let's see what we're up to.
  20. if [ "$TYPE" = "full" ] ; then
  21.     echo "About to make a FULL backup of volume $VOLUMENAME."
  22. elif [ "$TYPE" = "diff" ] ; then
  23.     echo "About to make a DIFFERENTIAL backup of volume $VOLUMENAME."
  24. elif [ "$TYPE" = "inc" ] ; then
  25.     echo "About to make INCREMENTAL backup of volume $VOLUMENAME."
  26. fi
  27.